﻿<%@ Page Language="C#" MasterPageFile="MasterPage.master" AutoEventWireup="true"
    CodeFile="jyzx.aspx.cs" Inherits="Theme_Index_jyzx" Title="Untitled Page" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <%--<div class="new_01">
		<div class="position">首页 &gt;&gt; 
            <asp:Label ID="lbl_typeName" runat="server" Text=""></asp:Label></div>
        <div class="education">
        

                        <ul>
                            <asp:Repeater ID="rpt_News" runat="server">
                                <ItemTemplate>
                                    <li><a href='<%#Eval("NewUrl")%>' target="_blank" title='<%#Eval("NewTitle")%>'>
                                        <%#Eval("NewTitle")%></a>[<%# DateTime.Parse(Eval("NewPublishTime").ToString()).ToString("yyyy-MM-dd")%>]</li>
                                </ItemTemplate>
                            </asp:Repeater>
                        </ul>

       
           
           </div>
            <div class="education_di">
            
            
             <ul>
                    <webdiyer:AspNetPager ID="AspNetPager1" runat="server" HorizontalAlign="Center" OnPageChanged="AspNetPager1_PageChanged"
                        ShowCustomInfoSection="right" Width="100%" meta:resourceKey="AspNetPager1" 
                        InputBoxStyle="width:19px" 
                        FirstPageText="<li>首页</li>" LastPageText="<li>未页</li>" NextPageText="<li>下一页</li>" PrevPageText="<li>上一页</li>">
                    </webdiyer:AspNetPager>

                
              </ul>
        </div>
      </div>
--%>

    <script language="javascript" type="text/javascript">
    function SlipShow4 (Slip_Group,Slip_N)
    {
        switch (Slip_N)
        {
            case 1:
                document.getElementById(Slip_Group + "1").style.display="block";
                document.getElementById(Slip_Group + "2").style.display="none";
                document.getElementById('tableqh').style.background = "url(/images/center_tb.jpg)";        
            break;
            case 2:
                document.getElementById(Slip_Group + "1").style.display="none";
                document.getElementById(Slip_Group + "2").style.display="block";
                document.getElementById('tableqh').style.background = "url(/images/center_zc.jpg)";
        }
    }

    function SlipShow3 (Slip_Group,Slip_N)
    {
        switch (Slip_N)
        {
        case 1:
            document.getElementById(Slip_Group + "1").style.display="block";
            document.getElementById(Slip_Group + "2").style.display="none";
            break;
        case 2:
            document.getElementById(Slip_Group + "1").style.display="none";
            document.getElementById(Slip_Group + "2").style.display="block";
        }
    }

    </script>

    <script type="text/JavaScript">
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
//-->
    </script>

    <table cellspacing="0" cellpadding="2" width="550" border="0">
        <tbody>
            <tr>
                <td valign="top" bgcolor="#ffffff">
                    <table cellspacing="1" cellpadding="6" width="100%" bgcolor="#cccccc" border="0">
                        <tbody>
                            <tr>
                                <td bgcolor="#ffffff">
                                    <table cellspacing="0" cellpadding="0" width="100%" border="0">
                                        <tbody>
                                            <tr>
                                                <td valign="top">
                                                    <div class="tabber">
                                                        <asp:Repeater ID="rpt_NewsType" runat="server">
                                                            <HeaderTemplate>
                                                            </HeaderTemplate>
                                                            <ItemTemplate>
                                                                <div class="tabbertab">
                                                                    <h2 class="title_left" style="background-image: url(/images/left_tb.jpg)">
                                                                        <%#Eval("NewTypeName")%></h2>
                                                                    <asp:Label ID="lbl_NewsTypeID" runat="server" Text='<%#Eval("NewTypeID")%>' Visible="false"></asp:Label>
                                                                    <div style="margin-top: 4px; width: 100%">
                                                                        <table width="550">
                                                                            <tr>
                                                                                <td width="151">
                                                                                    <img src="../../<%#Eval("NewTypePicUrl")%>" width="137" height="137">
                                                                                </td>
                                                                                <td width="387">
                                                                                    <asp:Repeater ID="rpt_news_gz" runat="server">
                                                                                        <HeaderTemplate>
                                                                                            <table style="margin-top: 5px" cellspacing="0" cellpadding="0" width="99%" border="0">
                                                                                                <tbody>
                                                                                        </HeaderTemplate>
                                                                                        <ItemTemplate>
                                                                                            <tr>
                                                                                                <td align="middle" width="5%" height="28">
                                                                                                    <img height="10" src="ganbu2/red_sign.gif" width="10">
                                                                                                </td>
                                                                                                <td width="83%" height="28" align="left" class="txt">
                                                                                                    <a title="<%#Eval("NewTitle")%>" href="<%#Eval("NewUrl")%>" target="_blank">
                                                                                                        <%--<%#Eval("NewTitle")%>--%>
                                                                                                        <%#PowerCreator.LMS.Common.Utils.StringUtils.GetSubstringLue(Eval("NewTitle").ToString(), 25)%></a><br>
                                                                                                </td>
                                                                                                <td width="12%" height="28" align="left" class="txt">
                                                                                                    <%# DateTime.Parse(Eval("NewPublishTime").ToString()).ToString("MM-dd")%>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td background="ganbu2/dot_line.gif" colspan="4" height="2">
                                                                                                </td>
                                                                                            </tr>
                                                                                        </ItemTemplate>
                                                                                        <FooterTemplate>
                                                                                            </tbody> </table>
                                                                                        </FooterTemplate>
                                                                                    </asp:Repeater>
                                                                                </td>
                                                                            </tr>
                                                                            <tr>
                                                                            <td></td>
                                                                                <td align="right">
                                                                                    <a href="jyzxselect.aspx?newstype=<%#Eval("NewTypeID")%>&newstypename=<%#Eval("NewTypeName")%>">更多</a>
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                    </div>
                                                                </div>
                                                            </ItemTemplate>
                                                        </asp:Repeater>
                                                    </div>
                                                </td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </td>
            </tr>
        </tbody>
    </table>
    <asp:Repeater ID="rpt_newsTypelist" runat="server">
        <HeaderTemplate>
        </HeaderTemplate>
        <ItemTemplate>
            <table cellspacing="1" cellpadding="6" width="100%" bgcolor="#cccccc" border="0">
                <tbody>
                    <tr>
                        <td bgcolor="#ffffff">
                            <table cellspacing="0" cellpadding="0" width="100%" border="0">
                                <tbody>
                                    <tr>
                                        <td valign="top">
                                            <table cellspacing="0" cellpadding="0" width="100%" border="0">
                                                <tbody>
                                                    <tr>
                                                        <td class="title_con_over" align="middle" width="110" background="ganbu2/title_bg.gif"
                                                            height="25">
                                                            <%#Eval("NewTypeName")%>
                                                            <asp:Label ID="lbl_NewsTypelistID" runat="server" Text='<%#Eval("NewTypeID")%>' Visible="false"></asp:Label>
                                                        </td>
                                                        <td class="font-red" valign="center" align="right" bgcolor="#dfdfdf">
                                                            <a href="jyzxselect.aspx?newstype=<%#Eval("NewTypeID")%>&newstypename=<%#Eval("NewTypeName")%>">更多&gt;&gt;</a>
                                                        </td>
                                                    </tr>
                                                </tbody>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td valign="top" align="middle">
                                            <table width="550">
                                                <tr>
                                                    <td width="151">
                                                        <img src="../../<%#Eval("NewTypePicUrl")%>" width="137" height="137">
                                                    </td>
                                                    <td width="387">
                                                        <asp:Repeater ID="rpt_news_gn" runat="server">
                                                            <HeaderTemplate>
                                                                <table style="margin-top: 5px" cellspacing="0" cellpadding="0" width="99%" border="0">
                                                                    <tbody>
                                                            </HeaderTemplate>
                                                            <ItemTemplate>
                                                                <tr>
                                                                    <td align="middle" width="5%" height="28">
                                                                        <img height="10" src="ganbu2/red_sign.gif" width="10">
                                                                    </td>
                                                                    <td width="83%" height="28" align="left" class="txt">
                                                                        <a title="<%#Eval("NewTitle")%>" href="<%#Eval("NewUrl")%>" target="_blank">
                                                                            <%#PowerCreator.LMS.Common.Utils.StringUtils.GetSubstringLue(Eval("NewTitle").ToString(), 25)%></a>
                                                                    </td>
                                                                    <td width="12%" height="28" align="left" class="txt">
                                                                        <%# DateTime.Parse(Eval("NewPublishTime").ToString()).ToString("MM-dd")%>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td background="ganbu2/dot_line.gif" colspan="4" height="2">
                                                                    </td>
                                                                </tr>
                                                            </ItemTemplate>
                                                            <FooterTemplate>
                                                                </tbody> </table>
                                                            </FooterTemplate>
                                                        </asp:Repeater>
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </td>
                    </tr>
                </tbody>
            </table>
        </ItemTemplate>
        <FooterTemplate>
        </FooterTemplate>
    </asp:Repeater>
</asp:Content>
